package com.huaxin.device.dto.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.huaxin.device.dto.request.base.BasePageReqDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class DeviceReadingCircuitBreakerPageListReqDTO extends BasePageReqDTO {
    @Schema(description = "设备实例ID", example = "d123e456-789a-bcde-f012-3456789abcde")
    private String deviceId;

    @Schema(description = "开始时间", example = "2025-08-17T00:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @Schema(description = "结束时间", example = "2025-08-17T23:59:59")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
}